﻿/*
 * Created by SharpDevelop.
 * User: Andrew Sadler
 * Date: 07/09/2012
 * Time: 20:31
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */
using System;
using System.Drawing;
using RRRSRoguelikeData;

namespace RRRSRoguelike.Entities
{
	/// <summary>
	/// Description of Trap.
	/// </summary>
	public class Trap:Tile
	{
		private bool set = false;
		
		public Trap(Point position):base("!",ConsoleColor.Green,position)
		{
			
		}
		
		public bool IsSet
		{
			get{return set;}
		}
		
		public void Set()
		{
			set = true;
			Color= ConsoleColor.Red;
		}
		
		public void Disarm()
		{
			set = false;
			Color = ConsoleColor.Green;
		}
		
	}
}
